// component/doctorsaid/doctorsaid.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    arr: {
      type: Array,
      value: []
    }
    
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    speackdetail:function(e){
      console.log(e)
      var index = e.currentTarget.dataset.index
      var yisid = e.currentTarget.dataset.yisid
      var list ={index:index,yisid:yisid}
      this.triggerEvent("speackdetail",list)
    }
  }
})
